# coding=utf-8
# 全世界最帅的帅哥
from flask import Flask

from ysgg1_club_celery.config.celery_config import Config
from ysgg1_club_celery.modules import db


def create_app():
    app = Flask(__name__)
    app.config.from_object(Config)

    db.init_app(app)

    return app
